<div class="row-fluid">
<div class="span1"> &nbsp;</div>
<div class="span10">
<h3 align="left"> Part Verification</h3>
<p align="right">
<a href="<?php echo site_url(); ?>/engineer/repair/ongoing_repair_data/<?php echo $case->id;?>" class="btn btn-success" > No Defective</a>
<div class="span11">
<br>
<br>
<br>

<div class="span4"></div>
<div class="span5">
<form method="post" action="<?php echo site_url(); ?>/engineer/repair/defective">
<b>Receipt No.</b>&nbsp;&nbsp;&nbsp;&nbsp;<input name="case_no"type="text" value="<?php echo $case->case_no;?>"readonly="readonly"/><br>
<b>Case No.</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="hp_no"type="text" value="<?php echo $case->hp_case;?>"readonly="readonly"/><br>
<input name="case_id"type="hidden" value="<?php echo $case->id;?>"/>
<b>Docket No.</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="docket_no"value="<?php echo $case->docket_no?>"readonly="readonly"/>
</div>
</div>

<br>
<hr>
<br>
<div class="span11">
<div class="span1"></div>
<div class="span9">
<legend>Part List</legend>


<p align="center"<table>
<tr>
<?php $count=0;?>
<?php foreach ($so as $so1){ $count=$count+1;  ?>
<td><input type="checkbox" value="<?php echo $so1->id?>" id="part" name="chk[]"/>&nbsp;&nbsp;<b><?php echo $so1->name;?></b>&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<?php } ?>
</table></p>
<hr>
<input type="hidden" name="total" value="<?php echo $count;?>"/>
</div>
</div>
<hr>

<div class="span11">

<div class="span3"></div>
<div class="span5">
<h5 align="center"> Select Reason </h5>

<p align="center"<table align="center">
<tr><td><input type="radio" name="reason" value="1"/><b>Reject</b></td><td> &nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><input type="radio" name="reason" value="2"/><b>Wrong Part</b>&nbsp;&nbsp;&nbsp;</td>
<td><input type="radio" name="reason" checked="checked" value="3"/><b>Defective</b></td></tr>
</table></p>
</div>
<div class="span11">
<br>
<br>
<p align="center">
<input type="submit" class="btn btn-danger"value="Send Defective" name="defective"/>
</p>
</form>
</div>

</div>
</div>
</div>
</div>



